#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>
#include <QPushButton>
#include "subwidget.h"//子窗口头文件


class mainWidget : public QWidget
{
    Q_OBJECT

public:
    mainWidget(QWidget *parent = 0);
    ~mainWidget();
    void mysolt();
    void mainwin();
    void subwin();

private:
    QPushButton b;
    QPushButton *b1;
    QPushButton b2;

    subwidget w;
};

#endif // MAINWIDGET_H
